<?php
namespace app\validate;
use share\validate\SceneValidate;

class SendCodeHistoryValidate extends SceneValidate{

    /**
     * 通用规则
     */
    protected $rule = [
        'type' => 'require|integer',
        'account' => 'length:1,50',
    ];    

    /**
     * 自定义场景的规则
     */
    protected $sceneRules = [
    ];

    protected $scene = [
        'list' => ['type','account'],
    ];
}
